<?php
class ArticleModel extends RelationModel{

	protected $_link=array(
		'article_attach'=>array(
			'mapping_type'=>HAS_ONE,
			'foreign_key'=>'articleid',
			'as_fields'=>'keywords,description,tag,sourcename,sourceurl,userstep,stick,filename,url',
		),
	);

}